package com.hbu.housingbrokerug.activities;
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.Toast;

import com.hub.R;
/**
 * 
 * @author Lubwama Samuel
 *
 */
public class About extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.about);
		final Bundle bundle=getIntent().getExtras();
		if("Failed".equals(bundle.get("MESSAGE"))){
			Toast.makeText(this,"Failed To Connect To Server Check Your Internet Setting or Check If You have Data", Toast.LENGTH_LONG).show();
		}
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.error, menu);
		return true;
	}

}
